package com.lqfan.autoAnswerQ.model.fileType;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.lqfan.autoAnswerQ.model.quesBank.Question;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.ArrayList;

/**
 *
 * @author lqfan
 * @since 2020-04-04
 */

@Data
@TableName("fileType")
public class HandleFileType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.UUID)
    private String id;

    /**
     * 文件保存路径
     */
    @TableField("filePath")
    private String filePath;

    /**
     * 用户id
     */
    @TableField("userId")
    private String userId;

    /**
     * 类型
     */
    @TableField("type")
    private Integer type;

    /**
     * 父id
     */
    @TableField("pid")
    private String pid;

    @TableId("qid")
    private String qid;

    @TableField("questionName")
    private String questionName;

    @TableField("questionTime")
    private LocalDateTime questionTime;

    /**
     * 题库类型 1 经典练习  2模拟测试
     */
    @TableField("questionFileType")
    private Integer questionFileType;

    @TableField("doNumber")
    private Integer doNumber;
}
